//
//  XMN_Seting_2.m
//  B段项目
//
//  Created by dllo on 15/11/6.
//  Copyright © 2015年 谢美娜. All rights reserved.
//

#import "XMN_Seting_2.h"
#import "Header.h"

@implementation XMN_Seting_2

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _leftImageView = [[UIImageView alloc]initWithFrame:CGRectMake(35 * FitWidth, 12.5 * FitHeight, 25 * FitWidth, 25 * FitHeight)];
        [self addSubview:_leftImageView];
        
        _rightLabel = [[UILabel alloc]initWithFrame:CGRectMake(_leftImageView.frame.origin.x + _leftImageView.frame.size.width + 20 * FitWidth, _leftImageView.frame.origin.y, 200 * FitWidth, _leftImageView.frame.size.height)];
        _rightLabel.textColor = [UIColor grayColor];
        _rightLabel.font = [UIFont systemFontOfSize:15];
        [self addSubview:_rightLabel];
        
        _label = [[UILabel alloc]initWithFrame:CGRectMake(0, 50 * FitHeight, ScreenWidth, 20 * FitHeight)];
        _label.backgroundColor = [UIColor colorWithRed:0.89 green:0.89 blue:0.9 alpha:1];
        [self addSubview:_label];
    }
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
